/*
 * @desc:
 * @Author: 钟强
 * @Date: 2021-03-26 16:37:39
 * @LastEditors: 钟强
 * @LastEditTime: 2021-03-26 16:59:16
 * @Description: file content
 */
const About = () =>
  import(/* webpackChunkName: "about" */ '../../views/About.vue');
const Home = () => import('../../views/Home');
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: About
  }
];

export default routes;
